export default {
  functional: true,
  props: {
    loading: Boolean
  },
  render (h, { props }) {
    return <div class={'co-loading-wrapper ' + (props.loading ? 'co-loading-animate' : '')}>
      <div class="co-loading-dot" />
      <div class="co-loading-dot" />
      <div class="co-loading-dot" />
    </div>;
  }
};
